# # 导入第三方库pandas， 导库关键字import，用到as关键字
# import  pandas as pd
#
# df = pd.read_excel(r'C:\Users\Administrator\Desktop\111.xlsx')
# print(df)
#
# #文件到excle
# a1 = {'姓名':'强哥','年龄': 21}
# a2 ={'姓名':'强子','年龄':41}
# a3 ={'姓名':'启强','年龄':51}
# l1 =[a1, a2, a3]
# print(l1)
#
#
# df1 = pd.DataFrame(l1)
# print(df1)
#
# df1.too_excel('222.xlsx,index=false')
#
#

from  docx import Document

doc = Document('2023年国务院政府工作报告.docx')
print(doc)
p=doc.paragraphs
print(p)
print(len(p))

for i in p:
    print(i. text)
